package main

import "fmt"

func main() {
	var s string = "Hello world!"
	var t string = "A" + s[1:]
	a := s[0:5]
	b := s[6:]
	c := s[:]

	fmt.Printf("s = %s\n", s)
	fmt.Printf("t = %s\n", t)
	fmt.Printf("a = %s\n", a)
	fmt.Printf("b = %s\n", b)
	fmt.Printf("c = %s\n", c)

	e := `Hi dear:
I'm Allen. I'm so happy you can read this article.\n
I would like you can share more experience about golang for us.
                  -- Yours \t Allen
`
	fmt.Printf("e = \n%s", e)
}
